package com.smart.primary.sys.service;

import com.smart.primary.common.common.IBase;
import com.smart.primary.sys.vo.Org;
import com.smart.primary.sys.vo.Role;
import com.smart.primary.sys.vo.User;
import com.smart.primary.sys.vo.UserRole;

import java.util.List;

public interface UserService extends IBase<User> {
    User login(User var1) throws Exception;

    Integer save(User var1) throws Exception;

    Integer saveOrUpdate(User var1) throws Exception;

    Integer setUserRole(UserRole var1) throws Exception;

    Integer delUserRole(UserRole var1) throws Exception;

    List<Role> getRoleListByUserId(Role var1, String var2) throws Exception;

    Integer resetPassWord(User var1) throws Exception;

    List<Org> getOrgSelectData() throws Exception;

    String formVerify(User var1, String var2) throws Exception;
}